// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'config/axios'
import VueAxios from 'vue-axios'
import Global from './global'
import KalixVueLib from './components/corelib'
import Header from './components/Header'
import Footer from './components/Footer'
import Layout from './components/Layout'
import 'nprogress/nprogress.css'
import '@/assets/stylus/base.styl'
import store from './store'
import './element-ui.js'

Vue.config.productionTip = false

Vue.use(Global)
Vue.use(VueAxios, axios)
Vue.use(Header)
Vue.use(Footer)
Vue.use(Layout)
Vue.use(KalixVueLib)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {App},
  template: '<App/>'
})
